//导入musql数据库
const mysql = require('mysql')

//创建与数据库的连接
const db = mysql.createPool({
  host: 'localhost',
  user: 'back_system',
  password: '123456',
  database: 'back_system'
})

module.exports = db